from django.conf.urls.defaults import *
from pydemo.control.models import Chart


info_dict={
    'queryset': Chart.objects.all(),
}

urlpatterns = patterns('',
    
    (r'^/?$','django.views.generic.list_detail.object_list',dict(paginate_by=2, **info_dict)),
    (r'^upload/$','control.views.upload'),
    (r'^output/$','control.views.output'),
    (r'^search/$','control.views.search'), 
)
